package top.fengyulou.xiaofeng.mapper;

import top.fengyulou.xiaofeng.domain.User;
import top.fengyulou.xiaofeng.dto.UserDto;

import java.util.List;

public interface UserMapper {
    List<UserDto> list(UserDto paperDto);

    UserDto getById(String id);

    void insert(User paper);

    void update(User paper);

    void delete(String[] ids);

    UserDto getByLoginNameAndType(UserDto userDto);

    UserDto getByLn(User user);
}